//财务api
import request from '@/utils/request'

// 获取流水记录
export const getPageAccountDetailList = (data) => request({
  url: '/applet/accountDetail/pageAccountDetailList',
  method: 'post',
  data
})

// 按时间升序获取所有分销用户信息分页列表
export const getAllUserDistributionByTimeDesc = (data) => request({
  url: '/biz/userDistribution/getAllUserDistributionByTimeDesc',
  method: 'post',
  data
})

// 财务统计表-金币核销统计表
export const goldCostTable = (data) => request({
  url: '/biz/statistics/goldCostTable',
  method: 'post',
  data
})

// 财务统计表-会员充值表
export const memberRechargeTable = (data) => request({
  url: '/biz/statistics/memberRechargeTable',
  method: 'post',
  data
})

// 财务统计表-作品加热表
export const dynamicExtensionTable = (data) => request({
  url: '/biz/statistics/dynamicExtensionTable',
  method: 'post',
  data
})

// 财务统计表-广告核销明细表
export const advertisementRecordTable = (data) => request({
  url: '/biz/statistics/advertisementRecordTable',
  method: 'post',
  data
})

// 财务统计表-分销明细表
export const userDistributionTable = (data) => request({
  url: '/biz/statistics/userDistributionTable',
  method: 'post',
  data
})


// 财务统计表-用户收益明细表
export const userRewardTable = (data) => request({
  url: '/biz/statistics/userRewardTable',
  method: 'post',
  data
})

// 财务统计表-金币明细表
export const goldTable = (data) => request({
  url: '/biz/statistics/goldTable',
  method: 'post',
  data
})

// 获取金币明细表
export const getGoldTable = (data) => request({
  url: '/biz/statistics/getGoldTable',
  method: 'post',
  data
})

// 设置金币明细表
export const setGoldTable = (data) => request({
  url: '/biz/statistics/setGoldTable',
  method: 'post',
  data
})

// 删除金币明细表
export const deleteGoldTable = (data) => request({
  url: '/biz/statistics/deleteGoldTable',
  method: 'post',
  data
})